package com.lagou.email.service.impl;

import com.lagou.email.service.SendEmailService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@Service
@RefreshScope
public class SendEmailServiceImpl implements SendEmailService {

    @Value("${lagou.message}")
    private String lagouMessage;

    @Override
    public String sendEmailCode(String email) {
        System.out.println("====>>>>>>>>>>>>>>SendEmailServiceImpl，访问到我这里了......"+email);
        return lagouMessage;
    }
}
